<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台首页</title>
    <link rel="stylesheet" href="__ADMIN__/css/index.css">
    <link rel="stylesheet" href="__ADMIN__/layui/css/layui.css">
    <link rel="stylesheet" href="{:config('Conf.aliicon')}">
    <script src="__ADMIN__/layui/layui.js"></script>
    <script src="__ADMIN__/js/jquery-1.8.3.min.js"></script>
    <script type='text/javascript' src='__Function__/js/function.js'></script>

</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><img src="{:config('Conf.admin_logo')}"/></div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a target="_blank" href="/">网站首页</a></li>
            <li class="layui-nav-item"><a href="">商品管理</a></li>
            <li class="layui-nav-item"><a href="">用户</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">其他功能</a>
                <dl class="layui-nav-child">
                    <dd><a href="{:url('Index/Clears',['t'=>'s'])}">清除数据缓存</a></dd>
                    <dd><a href="{:url('Index/Clears',['t'=>'r'])}">清除日志缓存</a></dd>
                    <dd><a href="{:url('Index/Clears',['t'=>'t'])}">清除模版缓存</a></dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="__ADMIN__/images/imgs.png" class="layui-nav-img">
                    {$Think.session.aid_admin.a_user}
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item LoginUot"><a href="javascript:;" onclick="LoUots();">退出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item">
                    <a href="{:url('Index/index')}">
                        <i class="iconfont icon-shouye1"></i>后台首页
                    </a>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">
                        <i class="iconfont icon-xitong"></i>系统设置
                    </a>
                    <dl class="layui-nav-child">
                        <dd class=""><a href="{:url('Config/ConfigList')}">系统设置</a></dd>
                        <dd><a href="{:url('Config/Config')}">配置列表</a></dd>
                        <!--<dd><a href="{:url('Config/ConfigTop')}">其他设置</a></dd>-->
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="{:url('Ad/index')}">
                        <i class="iconfont icon-guanggaoguanli"></i>广告设置
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="">
                        <i class="iconfont icon-member_icon"></i>会员管理
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="">
                        <i class="iconfont icon-single"></i>订单管理
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="{:url('Kami/index')}">
                        <i class="iconfont icon-qiamizhifu"></i>卡密管理
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
            {__CONTENT__}
    </div>

    <!--<div class="layui-footer">-->
        <!--&lt;!&ndash; 底部固定区域 &ndash;&gt;-->
        <!--© layui.com - 底部固定区域-->
    <!--</div>-->
</div>

<script>

    function LoUots(){
        LoUot("{:url('Login/LoUot')}");
    }

</script>
</body>
</html>